package com.erp.mapper;

import com.erp.entity.GoodsWarehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsWarehouseMapper {

    List<GoodsWarehouse> getAllInventoryInformationByGoodsId(Integer id);

    int add(GoodsWarehouse goodsWarehouse);

    GoodsWarehouse isExit(Integer gid, String warehouseName);

    int update(GoodsWarehouse goodsWarehouse);
}
